﻿using PaperMaster.Chess;
using PaperMaster.Chess.Bell;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 该类仅用于测试
/// </summary>
public class FightViewController : MonoBehaviour
{
    public FightController controller;
    // Start is called before the first frame update
    void Start()
    {
        controller = new FightController();
    }
    /// <summary>
    /// 该变量仅用于测试
    /// </summary>
    bool onFight = false;
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.F) && !onFight)
        {
            onFight = true;
            FightBeginEvent.Trigger();
        }
    }
}
